package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MoSettlement;

import java.util.*;
public class MoSettlementExample extends SgExample<MoSettlementExample.Criteria> {
    public static final Class<MoSettlement> beanClass = MoSettlement.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn bankNumber;
    public static EntityColumn cashMoney;
    public static EntityColumn money;
    public static EntityColumn orderId;
    public static EntityColumn settlementTime;
    public static EntityColumn bankName;
    public static EntityColumn settlementId;
    public static EntityColumn settlementCode;
    public static EntityColumn status;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        bankNumber = listMap.get("bankNumber");
        cashMoney = listMap.get("cashMoney");
        money = listMap.get("money");
        orderId = listMap.get("orderId");
        settlementTime = listMap.get("settlementTime");
        bankName = listMap.get("bankName");
        settlementId = listMap.get("settlementId");
        settlementCode = listMap.get("settlementCode");
        status = listMap.get("status");
        }

    public MoSettlementExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MoSettlementExample.Criteria createCriteriaInternal() {
        return new MoSettlementExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MoSettlementExample.Criteria andBankNumberIsNull() {
            return isNull(bankNumber);
        }

        public MoSettlementExample.Criteria andBankNumberIsNotNull() {
            return isNotNull(bankNumber);
        }

        public MoSettlementExample.Criteria andBankNumberEqualTo(String value) {
            return equalTo(bankNumber, value);
        }

        public MoSettlementExample.Criteria andBankNumberNotEqualTo(String value) {
            return notEqualTo(bankNumber, value);
        }

        public MoSettlementExample.Criteria andBankNumberGreaterThan(String value) {
            return greaterThan(bankNumber, value);
        }

        public MoSettlementExample.Criteria andBankNumberGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankNumber, value);
        }

        public MoSettlementExample.Criteria andBankNumberLessThan(String value) {
            return lessThan(bankNumber, value);
        }

        public MoSettlementExample.Criteria andBankNumberLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankNumber, value);
        }

        public MoSettlementExample.Criteria andBankNumberLike(String value) {
            return like(bankNumber, value);
        }

        public MoSettlementExample.Criteria andBankNumberNotLike(String value) {
            return notLike(bankNumber, value);
        }

        public MoSettlementExample.Criteria andBankNumberIn(List<String> values) {
            return in(bankNumber, values);
        }

        public MoSettlementExample.Criteria andBankNumberNotIn(List<String> values) {
            return notIn(bankNumber, values);
        }

        public MoSettlementExample.Criteria andBankNumberBetween(String value1, String value2) {
            return between(bankNumber, value1, value2);
        }

        public MoSettlementExample.Criteria andBankNumberNotBetween(String value1, String value2) {
            return notBetween(bankNumber, value1, value2);
        }
        public MoSettlementExample.Criteria andCashMoneyIsNull() {
            return isNull(cashMoney);
        }

        public MoSettlementExample.Criteria andCashMoneyIsNotNull() {
            return isNotNull(cashMoney);
        }

        public MoSettlementExample.Criteria andCashMoneyEqualTo(String value) {
            return equalTo(cashMoney, value);
        }

        public MoSettlementExample.Criteria andCashMoneyNotEqualTo(String value) {
            return notEqualTo(cashMoney, value);
        }

        public MoSettlementExample.Criteria andCashMoneyGreaterThan(String value) {
            return greaterThan(cashMoney, value);
        }

        public MoSettlementExample.Criteria andCashMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(cashMoney, value);
        }

        public MoSettlementExample.Criteria andCashMoneyLessThan(String value) {
            return lessThan(cashMoney, value);
        }

        public MoSettlementExample.Criteria andCashMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(cashMoney, value);
        }

        public MoSettlementExample.Criteria andCashMoneyLike(String value) {
            return like(cashMoney, value);
        }

        public MoSettlementExample.Criteria andCashMoneyNotLike(String value) {
            return notLike(cashMoney, value);
        }

        public MoSettlementExample.Criteria andCashMoneyIn(List<String> values) {
            return in(cashMoney, values);
        }

        public MoSettlementExample.Criteria andCashMoneyNotIn(List<String> values) {
            return notIn(cashMoney, values);
        }

        public MoSettlementExample.Criteria andCashMoneyBetween(String value1, String value2) {
            return between(cashMoney, value1, value2);
        }

        public MoSettlementExample.Criteria andCashMoneyNotBetween(String value1, String value2) {
            return notBetween(cashMoney, value1, value2);
        }
        public MoSettlementExample.Criteria andMoneyIsNull() {
            return isNull(money);
        }

        public MoSettlementExample.Criteria andMoneyIsNotNull() {
            return isNotNull(money);
        }

        public MoSettlementExample.Criteria andMoneyEqualTo(String value) {
            return equalTo(money, value);
        }

        public MoSettlementExample.Criteria andMoneyNotEqualTo(String value) {
            return notEqualTo(money, value);
        }

        public MoSettlementExample.Criteria andMoneyGreaterThan(String value) {
            return greaterThan(money, value);
        }

        public MoSettlementExample.Criteria andMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(money, value);
        }

        public MoSettlementExample.Criteria andMoneyLessThan(String value) {
            return lessThan(money, value);
        }

        public MoSettlementExample.Criteria andMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(money, value);
        }

        public MoSettlementExample.Criteria andMoneyLike(String value) {
            return like(money, value);
        }

        public MoSettlementExample.Criteria andMoneyNotLike(String value) {
            return notLike(money, value);
        }

        public MoSettlementExample.Criteria andMoneyIn(List<String> values) {
            return in(money, values);
        }

        public MoSettlementExample.Criteria andMoneyNotIn(List<String> values) {
            return notIn(money, values);
        }

        public MoSettlementExample.Criteria andMoneyBetween(String value1, String value2) {
            return between(money, value1, value2);
        }

        public MoSettlementExample.Criteria andMoneyNotBetween(String value1, String value2) {
            return notBetween(money, value1, value2);
        }
        public MoSettlementExample.Criteria andOrderIdIsNull() {
            return isNull(orderId);
        }

        public MoSettlementExample.Criteria andOrderIdIsNotNull() {
            return isNotNull(orderId);
        }

        public MoSettlementExample.Criteria andOrderIdEqualTo(Long value) {
            return equalTo(orderId, value);
        }

        public MoSettlementExample.Criteria andOrderIdNotEqualTo(Long value) {
            return notEqualTo(orderId, value);
        }

        public MoSettlementExample.Criteria andOrderIdGreaterThan(Long value) {
            return greaterThan(orderId, value);
        }

        public MoSettlementExample.Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(orderId, value);
        }

        public MoSettlementExample.Criteria andOrderIdLessThan(Long value) {
            return lessThan(orderId, value);
        }

        public MoSettlementExample.Criteria andOrderIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(orderId, value);
        }

        public MoSettlementExample.Criteria andOrderIdIn(List<Long> values) {
            return in(orderId, values);
        }

        public MoSettlementExample.Criteria andOrderIdNotIn(List<Long> values) {
            return notIn(orderId, values);
        }

        public MoSettlementExample.Criteria andOrderIdBetween(Long value1, Long value2) {
            return between(orderId, value1, value2);
        }

        public MoSettlementExample.Criteria andOrderIdNotBetween(Long value1, Long value2) {
            return notBetween(orderId, value1, value2);
        }
        public MoSettlementExample.Criteria andSettlementTimeIsNull() {
            return isNull(settlementTime);
        }

        public MoSettlementExample.Criteria andSettlementTimeIsNotNull() {
            return isNotNull(settlementTime);
        }

        public MoSettlementExample.Criteria andSettlementTimeEqualTo(Date value) {
            return equalTo(settlementTime, value);
        }

        public MoSettlementExample.Criteria andSettlementTimeNotEqualTo(Date value) {
            return notEqualTo(settlementTime, value);
        }

        public MoSettlementExample.Criteria andSettlementTimeGreaterThan(Date value) {
            return greaterThan(settlementTime, value);
        }

        public MoSettlementExample.Criteria andSettlementTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(settlementTime, value);
        }

        public MoSettlementExample.Criteria andSettlementTimeLessThan(Date value) {
            return lessThan(settlementTime, value);
        }

        public MoSettlementExample.Criteria andSettlementTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(settlementTime, value);
        }

        public MoSettlementExample.Criteria andSettlementTimeIn(List<Date> values) {
            return in(settlementTime, values);
        }

        public MoSettlementExample.Criteria andSettlementTimeNotIn(List<Date> values) {
            return notIn(settlementTime, values);
        }

        public MoSettlementExample.Criteria andSettlementTimeBetween(Date value1, Date value2) {
            return between(settlementTime, value1, value2);
        }

        public MoSettlementExample.Criteria andSettlementTimeNotBetween(Date value1, Date value2) {
            return notBetween(settlementTime, value1, value2);
        }
        public MoSettlementExample.Criteria andBankNameIsNull() {
            return isNull(bankName);
        }

        public MoSettlementExample.Criteria andBankNameIsNotNull() {
            return isNotNull(bankName);
        }

        public MoSettlementExample.Criteria andBankNameEqualTo(String value) {
            return equalTo(bankName, value);
        }

        public MoSettlementExample.Criteria andBankNameNotEqualTo(String value) {
            return notEqualTo(bankName, value);
        }

        public MoSettlementExample.Criteria andBankNameGreaterThan(String value) {
            return greaterThan(bankName, value);
        }

        public MoSettlementExample.Criteria andBankNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankName, value);
        }

        public MoSettlementExample.Criteria andBankNameLessThan(String value) {
            return lessThan(bankName, value);
        }

        public MoSettlementExample.Criteria andBankNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankName, value);
        }

        public MoSettlementExample.Criteria andBankNameLike(String value) {
            return like(bankName, value);
        }

        public MoSettlementExample.Criteria andBankNameNotLike(String value) {
            return notLike(bankName, value);
        }

        public MoSettlementExample.Criteria andBankNameIn(List<String> values) {
            return in(bankName, values);
        }

        public MoSettlementExample.Criteria andBankNameNotIn(List<String> values) {
            return notIn(bankName, values);
        }

        public MoSettlementExample.Criteria andBankNameBetween(String value1, String value2) {
            return between(bankName, value1, value2);
        }

        public MoSettlementExample.Criteria andBankNameNotBetween(String value1, String value2) {
            return notBetween(bankName, value1, value2);
        }
        public MoSettlementExample.Criteria andSettlementIdIsNull() {
            return isNull(settlementId);
        }

        public MoSettlementExample.Criteria andSettlementIdIsNotNull() {
            return isNotNull(settlementId);
        }

        public MoSettlementExample.Criteria andSettlementIdEqualTo(Long value) {
            return equalTo(settlementId, value);
        }

        public MoSettlementExample.Criteria andSettlementIdNotEqualTo(Long value) {
            return notEqualTo(settlementId, value);
        }

        public MoSettlementExample.Criteria andSettlementIdGreaterThan(Long value) {
            return greaterThan(settlementId, value);
        }

        public MoSettlementExample.Criteria andSettlementIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(settlementId, value);
        }

        public MoSettlementExample.Criteria andSettlementIdLessThan(Long value) {
            return lessThan(settlementId, value);
        }

        public MoSettlementExample.Criteria andSettlementIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(settlementId, value);
        }

        public MoSettlementExample.Criteria andSettlementIdIn(List<Long> values) {
            return in(settlementId, values);
        }

        public MoSettlementExample.Criteria andSettlementIdNotIn(List<Long> values) {
            return notIn(settlementId, values);
        }

        public MoSettlementExample.Criteria andSettlementIdBetween(Long value1, Long value2) {
            return between(settlementId, value1, value2);
        }

        public MoSettlementExample.Criteria andSettlementIdNotBetween(Long value1, Long value2) {
            return notBetween(settlementId, value1, value2);
        }
        public MoSettlementExample.Criteria andSettlementCodeIsNull() {
            return isNull(settlementCode);
        }

        public MoSettlementExample.Criteria andSettlementCodeIsNotNull() {
            return isNotNull(settlementCode);
        }

        public MoSettlementExample.Criteria andSettlementCodeEqualTo(String value) {
            return equalTo(settlementCode, value);
        }

        public MoSettlementExample.Criteria andSettlementCodeNotEqualTo(String value) {
            return notEqualTo(settlementCode, value);
        }

        public MoSettlementExample.Criteria andSettlementCodeGreaterThan(String value) {
            return greaterThan(settlementCode, value);
        }

        public MoSettlementExample.Criteria andSettlementCodeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(settlementCode, value);
        }

        public MoSettlementExample.Criteria andSettlementCodeLessThan(String value) {
            return lessThan(settlementCode, value);
        }

        public MoSettlementExample.Criteria andSettlementCodeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(settlementCode, value);
        }

        public MoSettlementExample.Criteria andSettlementCodeLike(String value) {
            return like(settlementCode, value);
        }

        public MoSettlementExample.Criteria andSettlementCodeNotLike(String value) {
            return notLike(settlementCode, value);
        }

        public MoSettlementExample.Criteria andSettlementCodeIn(List<String> values) {
            return in(settlementCode, values);
        }

        public MoSettlementExample.Criteria andSettlementCodeNotIn(List<String> values) {
            return notIn(settlementCode, values);
        }

        public MoSettlementExample.Criteria andSettlementCodeBetween(String value1, String value2) {
            return between(settlementCode, value1, value2);
        }

        public MoSettlementExample.Criteria andSettlementCodeNotBetween(String value1, String value2) {
            return notBetween(settlementCode, value1, value2);
        }
        public MoSettlementExample.Criteria andStatusIsNull() {
            return isNull(status);
        }

        public MoSettlementExample.Criteria andStatusIsNotNull() {
            return isNotNull(status);
        }

        public MoSettlementExample.Criteria andStatusEqualTo(Integer value) {
            return equalTo(status, value);
        }

        public MoSettlementExample.Criteria andStatusNotEqualTo(Integer value) {
            return notEqualTo(status, value);
        }

        public MoSettlementExample.Criteria andStatusGreaterThan(Integer value) {
            return greaterThan(status, value);
        }

        public MoSettlementExample.Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(status, value);
        }

        public MoSettlementExample.Criteria andStatusLessThan(Integer value) {
            return lessThan(status, value);
        }

        public MoSettlementExample.Criteria andStatusLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(status, value);
        }

        public MoSettlementExample.Criteria andStatusIn(List<Integer> values) {
            return in(status, values);
        }

        public MoSettlementExample.Criteria andStatusNotIn(List<Integer> values) {
            return notIn(status, values);
        }

        public MoSettlementExample.Criteria andStatusBetween(Integer value1, Integer value2) {
            return between(status, value1, value2);
        }

        public MoSettlementExample.Criteria andStatusNotBetween(Integer value1, Integer value2) {
            return notBetween(status, value1, value2);
        }
    }
}